package com.eunion.web.cms.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eunion.web.cms.entity.User;
import com.eunion.web.cms.repository.UserRepository;
import com.eunion.web.cms.service.UserService;
import com.eunion.web.common.base.BaseRepository;
import com.eunion.web.common.base.impl.BaseServiceImpl;

@Service(value = "userService")
@Transactional
public class UserServiceImpl extends BaseServiceImpl<User, Long> implements UserService {

    @Resource
    private UserRepository userRepository;

    @Override
    public BaseRepository<User, Long> geBaseRepository() {
        return userRepository;
    }

}
